import re
a = 'Hello,today is Rainy.But I still go out for a walk.'
c = []
d = []
upp = re.split('[,. ]',a)
for i in upp:
    if i.istitle():
        lenth = len(i)
        c.append(i)
        d.append(lenth)
dicts = dict(zip(c,d))
print(dicts)